package com.pig.graduate.service.sys;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pig.graduate.domain.sys.SysMenu;

import java.util.List;

/**
* @author hp
* @description 针对表【sys_menu】的数据库操作Service
* @createDate 2023-01-14 10:58:07
*/
public interface SysMenuService extends IService<SysMenu> {
    List<SysMenu> buildTreeMenu(List<SysMenu> sysMenuList);

    /**
     * 获取角色菜单
     */
    List<SysMenu> getMenuByRoleId(Integer roleId);
}
